﻿using SlimDX.Direct3D11;

namespace JamesZhao.Engine.Graphics.Effects
{
    public abstract class BlurMaterial : Material
    {
        protected BlurMaterial(GraphicsDevice device, string effectFile) : base(device, effectFile)
        {
            SizeVar = VectorVariables["_size"];
            InputVar = ResourceVariables["_input"];
            FilterWidthVar = ScalarVariables["_filterWidth"];
            //NumOfSamplesVar = ScalarVariables["_numOfSamples"];
        }

        //public EffectScalarVariable NumOfSamplesVar { get; set; }
        public EffectScalarVariable FilterWidthVar { get; set; }
        public EffectVectorVariable SizeVar { get; protected set; }
        public EffectResourceVariable InputVar { get; protected set; }
    }
}